package com.demo.service.impl;

import com.demo.dateService.UserService;
import com.demo.model.UserDo;
import com.demo.service.DemoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 业务层
 * */
@Service
public class DemoServiceImpl implements DemoService {

    @Resource
    public UserService userService;

    @Override
    public void demo1() {
        userService.queryUser();
    }
}
